<?php
function string_begins_with($string, $search)
{
    return (strncmp($string, $search, strlen($search)) == 0);
}
?>
